package com.liy.redisson;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author ly
 * @date 2022/11/7 14:42
 */

@SpringBootApplication
@EnableTransactionManagement  //启动SpringBoot事务
@EnableAsync  //开启异步
public class ApplicationRedis {

    public static void main(String[] args) {
        SpringApplication.run(ApplicationRedis.class,args);
    }

}
